package org.example.project01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.InetAddress;
import java.net.UnknownHostException;

@SpringBootApplication
public class Project01Application {

	public static void main(String[] args) throws UnknownHostException {
		SpringApplication.run(Project01Application.class, args);
		System.out.println("本机的IP地址为："+ InetAddress.getLocalHost().getHostAddress());
	}


}
